package com.gzedu.module.service.curd;

import java.util.List;
import java.util.Map;

import com.gzedu.common.sys.service.IBaseService;
import com.gzedu.module.modle.curd.CurdList;

public interface ICurdListService extends IBaseService<CurdList>{
	/**
	 * 查询通用列表的信息,构造jqgrid的数据结构
	 * @param curdList
	 * @return
	 */
	public List<Map<String,Object>> selectByFormId(CurdList curdList);
	
	/**
	 * 根据标识查询数据
	 * @param curdList
	 * @return
	 */
	public List<CurdList> getByListId(CurdList curdList);
	/**
	 * 根据表单ID获取信息
	 * @param curdList
	 * @return
	 */
	public List<CurdList> getByFormId(CurdList curdList);
	
	/**
	 * 根据表单ID删除信息
	 * @param curdList
	 * @return
	 */
	public int deleteByFormId(CurdList curdList);
}


